<%- @sentences.each do |word| -%>
	<%- if word.has_key? "dic_keys" -%>
		<span class="pu" title='<%= word["reading"] %>' >
			<%= link_to_remote word["surface"],
				:url => { :controller => :example,:action => :search, :id => word["dic_keys"].join(","), :sense_size => (word.has_key?("sense_size") ? word["sense_size"].join(",") : 0 ) },
				:with => "Form.serialize('parameters')"
			%>	
		</span>
	<%- else -%>
		<span title='<%= word["reading"] %>' >
			<%= word["surface"] %>
		</span>
	<%- end -%>
<%- end -%>
